﻿var productManager = {};
productManager.url = {};
productManager.url.action = "/Product/Action.ashx";
productManager.setStatus = function (proId, value, createDate) {
    var form = {};
    form.proId = proId;
    form.actionType = "1";
    form.opType = value;
    form.createDate = createDate;
    $.post(productManager.url.action, form,
        function (jsonData) {
            if (jsonData.success) {
                alert("操作成功");
                jDoc.reload();
            } else {
                alert(jsonData.message);
            }
        }, "json");
}